Skip to content

Fix explicit ComputeBasic app freezing on window resize#2090

Open
janetliuAMD wants to merge 1 commit intocinder:vulkanfrom
janetliuAMD:ComputeBasic
Open

Fix explicit ComputeBasic app freezing on window resize#2090
janetliuAMD wants to merge 1 commit intocinder:vulkanfrom
janetliuAMD:ComputeBasic

Conversation

@janetliuAMD
Copy link

The explicit ComputeBasic sample app will hang during window resize/maximize.

This is because the semaphore mComputeDoneSemaphore waited on by rendering operation submitted in draw() is never signaled after a resize operation, as explained in pull request #1724 .

This fix is part of the changes in the above mentioned pull request which fixes the semaphore bug, without the VkPresentModeKHR enum change for VK_PRESENT_MODE_MAX_ENUM, as Cinder's current vulkan.h in tools/vulkan uses VK_PRESENT_MODE_MAX_ENUM instead of VK_PRESENT_MODE_MAX_ENUM_KHR, which might be the reason #1724 didn't pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants